package com.ruoyi.project.oms.paeaAuType.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.er.domain.PaeaErTypePointRel;
import com.ruoyi.project.oms.paeaAuTypeErrPointRel.domain.PaeaAuTypeErrPointRel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;


/**
 * 监督类型对象 paea_au_type
 *
 * @author 关晓强
 * @date 2020-03-14
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
@TableName(value = "paea_au_type")
public class PaeaAuType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id")
    private String id;

    /** 代码 */
    @Excel(name = "代码")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 状态 */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用,2=未知")
    private Long status;

    /** 监督预警类型（1-监督；2-预警） */
    @Excel(name = "监督预警类型", readConverterExp = "1=监督,2=预警")
    private String type;

    /** 模式（0-手工下发；1-自动下发） */
    @Excel(name = "模式", readConverterExp = "0=手工下发,1=自动下发")
    private Long sendMode;

    /** 下发方式（0-单笔下发；1-批量下发） */
    @Excel(name = "下发方式", readConverterExp = "0=单笔下发,1=批量下发")
    private Long beBatch;

    /** 预警状态（250-待回复；800-归档） */
    @Excel(name = "预警状态", readConverterExp = "250=待回复,800=归档")
    private String riskStatus;


}
